package com.ywu.container.spi.spi;

import com.ywu.common.result.CommonResult;
import com.ywu.container.spi.dto.ServiceContainerDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

@FeignClient(value = "YWU-CONTAINER")
public interface ServiceContainerSpi {
    @PostMapping("/ywu/container/container.query.batch.by.container.id.spi")
    CommonResult<Map<String, ServiceContainerDto>> containerDetailsQuery(@RequestBody List<ServiceContainerDto> containerIds);
}
